package com.yoshino.factory.abstract_factory.order;


/**
 * @author yoshino
 **/
public class PizzaStore {

    public static void main(String[] args) {
        String loc = "bj";
        if ("bj".equals(loc)) {
            // 创建北京的各种Pizza
            new BJFactory();
        } else {
            // 创建伦敦的各种Pizza
            new LDFactory();
        }
    }
}
